package com.beeantec.jnrerc.dto.response;

import com.beeantec.jnrerc.entity.MemberDynamic;
import com.beeantec.jnrerc.entity.Mission;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="工作圈动态响应类", description="工作圈动态响应类")
public class DynamicRespDTO<T> extends MemberDynamic {
    @ApiModelProperty(value = "动态实体类", required = true)
    private T detail;
    @ApiModelProperty(value = "评论数", required = true)
    private Integer commentNum;
    @ApiModelProperty(value = "点赞数", required = true)
    private Integer likeNum;
    @ApiModelProperty(value = "是否点赞(0无1有)", required = true)
    private Integer hasLike;

    @ApiModelProperty(value = "头像", required = true)
    private String head;

    @ApiModelProperty(value = "昵称", required = true)
    private String nickName;
}
